package jerry.html.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Class to hold the stuff that player has used.
 * 
 * @author (h0t@_G0|i
 */

public class Stuff implements Serializable {
	private static final long serialVersionUID = 3055173912083416618L;
	private String stuffName;
	private double timeOfUse;
	private Double pickupTime;
	private StuffType stuffType;
	private List<Score> scoreFromIt;
	private Integer timesPicked;
	/**
	 * @return the stuffName
	 */
	public String getStuffName() {
		return stuffName;
	}
	/**
	 * @param stuffName the stuffName to set
	 */
	public void setStuffName(String stuffName) {
		this.stuffName = stuffName;
	}
	/**
	 * @return the timeOfUse
	 */
	public Double getTimeOfUse() {
		return timeOfUse;
	}
	/**
	 * @param timeOfUse the timeOfUse to set
	 */
	public void setTimeOfUse(Double timeOfUse) {
		this.timeOfUse = timeOfUse;
	}
	/**
	 * @return the pickupTime
	 */
	public Double getPickupTime() {
		return pickupTime;
	}
	/**
	 * @param pickupTime the pickupTime to set
	 */
	public void setPickupTime(Double pickupTime) {
		this.pickupTime = pickupTime;
	}
	/**
	 * @return the stuffType
	 */
	public StuffType getStuffType() {
		return stuffType;
	}
	/**
	 * @param stuffType the stuffType to set
	 */
	public void setStuffType(StuffType stuffType) {
		this.stuffType = stuffType;
	}
	
	/**
	 * @return the killsWithIt
	 */
	public List<Score> getScoreFromIt() {
		if(scoreFromIt == null) {
			scoreFromIt = new ArrayList<Score>();
		}
		return scoreFromIt;
	}
	
	/**
	 * @param killsWithIt the killsWithIt to set
	 */
	public void setScoreFromIt(List<Score> killsWithIt) {
		this.scoreFromIt = killsWithIt;
	}
	
	/**
	 * @return the timesPicked
	 */
	public Integer getTimesPicked() {
		return timesPicked;
	}
	
	/**
	 * @param timesPicked the timesPicked to set
	 */
	public void setTimesPicked(Integer timesPicked) {
		this.timesPicked = timesPicked;
	}
}
